Optimal. Leaf size=134 \[ -\frac {5 c^{5/2} \tanh ^{-1}\left (\frac {a \sqrt {c} x}{\sqrt {a^2 c x^2+c}}\right )}{112 a^2}-\frac {5 c^2 x \sqrt {a^2 c x^2+c}}{112 a}-\frac {x \left (a^2 c x^2+c\right )^{5/2}}{42 a}-\frac {5 c x \left (a^2 c x^2+c\right )^{3/2}}{168 a}+\frac {\left (a^2 c x^2+c\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 134, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4930, 195, 217, 206} \[ -\frac {5 c^2 x \sqrt {a^2 c x^2+c}}{112 a}-\frac {5 c^{5/2} \tanh ^{-1}\left (\frac {a \sqrt {c} x}{\sqrt {a^2 c x^2+c}}\right )}{112 a^2}-\frac {x \left (a^2 c x^2+c\right )^{5/2}}{42 a}-\frac {5 c x \left (a^2 c x^2+c\right )^{3/2}}{168 a}+\frac {\left (a^2 c x^2+c\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 206
Rule 217
Rule 4930
Rubi steps
\begin {align*} \int x \left (c+a^2 c x^2\right )^{5/2} \tan ^{-1}(a x) \, dx &=\frac {\left (c+a^2 c x^2\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c}-\frac {\int \left (c+a^2 c x^2\right )^{5/2} \, dx}{7 a}\\ &=-\frac {x \left (c+a^2 c x^2\right )^{5/2}}{42 a}+\frac {\left (c+a^2 c x^2\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c}-\frac {(5 c) \int \left (c+a^2 c x^2\right )^{3/2} \, dx}{42 a}\\ &=-\frac {5 c x \left (c+a^2 c x^2\right )^{3/2}}{168 a}-\frac {x \left (c+a^2 c x^2\right )^{5/2}}{42 a}+\frac {\left (c+a^2 c x^2\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c}-\frac {\left (5 c^2\right ) \int \sqrt {c+a^2 c x^2} \, dx}{56 a}\\ &=-\frac {5 c^2 x \sqrt {c+a^2 c x^2}}{112 a}-\frac {5 c x \left (c+a^2 c x^2\right )^{3/2}}{168 a}-\frac {x \left (c+a^2 c x^2\right )^{5/2}}{42 a}+\frac {\left (c+a^2 c x^2\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c}-\frac {\left (5 c^3\right ) \int \frac {1}{\sqrt {c+a^2 c x^2}} \, dx}{112 a}\\ &=-\frac {5 c^2 x \sqrt {c+a^2 c x^2}}{112 a}-\frac {5 c x \left (c+a^2 c x^2\right )^{3/2}}{168 a}-\frac {x \left (c+a^2 c x^2\right )^{5/2}}{42 a}+\frac {\left (c+a^2 c x^2\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c}-\frac {\left (5 c^3\right ) \operatorname {Subst}\left (\int \frac {1}{1-a^2 c x^2} \, dx,x,\frac {x}{\sqrt {c+a^2 c x^2}}\right )}{112 a}\\ &=-\frac {5 c^2 x \sqrt {c+a^2 c x^2}}{112 a}-\frac {5 c x \left (c+a^2 c x^2\right )^{3/2}}{168 a}-\frac {x \left (c+a^2 c x^2\right )^{5/2}}{42 a}+\frac {\left (c+a^2 c x^2\right )^{7/2} \tan ^{-1}(a x)}{7 a^2 c}-\frac {5 c^{5/2} \tanh ^{-1}\left (\frac {a \sqrt {c} x}{\sqrt {c+a^2 c x^2}}\right )}{112 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.22, size = 111, normalized size = 0.83 \[ \frac {c^2 \left (-15 \sqrt {c} \log \left (\sqrt {c} \sqrt {a^2 c x^2+c}+a c x\right )+48 \left (a^2 x^2+1\right )^3 \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)-a x \left (8 a^4 x^4+26 a^2 x^2+33\right ) \sqrt {a^2 c x^2+c}\right )}{336 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 130, normalized size = 0.97 \[ \frac {15 \, c^{\frac {5}{2}} \log \left (-2 \, a^{2} c x^{2} + 2 \, \sqrt {a^{2} c x^{2} + c} a \sqrt {c} x - c\right ) - 2 \, {\left (8 \, a^{5} c^{2} x^{5} + 26 \, a^{3} c^{2} x^{3} + 33 \, a c^{2} x - 48 \, {\left (a^{6} c^{2} x^{6} + 3 \, a^{4} c^{2} x^{4} + 3 \, a^{2} c^{2} x^{2} + c^{2}\right )} \arctan \left (a x\right )\right )} \sqrt {a^{2} c x^{2} + c}}{672 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.90, size = 205, normalized size = 1.53 \[ \frac {c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (48 \arctan \left (a x \right ) x^{6} a^{6}-8 x^{5} a^{5}+144 \arctan \left (a x \right ) x^{4} a^{4}-26 a^{3} x^{3}+144 \arctan \left (a x \right ) x^{2} a^{2}-33 a x +48 \arctan \left (a x \right )\right )}{336 a^{2}}-\frac {5 c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \ln \left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}+i\right )}{112 a^{2} \sqrt {a^{2} x^{2}+1}}+\frac {5 c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \ln \left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}-i\right )}{112 a^{2} \sqrt {a^{2} x^{2}+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.69, size = 637, normalized size = 4.75 \[ \frac {560 \, {\left (a^{2} c^{2} x^{2} + c^{2}\right )} \sqrt {a^{2} x^{2} + 1} \sqrt {c} \arctan \left (a x\right ) - 280 \, {\left (a^{4} x^{4} + 10 \, a^{2} x^{2} + 9\right )}^{\frac {1}{4}} {\left (a c^{2} x \cos \left (\frac {1}{2} \, \arctan \left (4 \, a x, -a^{2} x^{2} + 3\right )\right ) + 2 \, c^{2} \sin \left (\frac {1}{2} \, \arctan \left (4 \, a x, -a^{2} x^{2} + 3\right )\right )\right )} \sqrt {c} - {\left ({\left (a {\left (\frac {5 \, {\left (\frac {8 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x^{3}}{a^{2}} - \frac {6 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x}{a^{4}} + \frac {3 \, \sqrt {a^{2} x^{2} + 1} x}{a^{4}} + \frac {3 \, \operatorname {arsinh}\left (a x\right )}{a^{5}}\right )}}{a^{2}} - \frac {24 \, {\left (\frac {2 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x}{a^{2}} - \frac {\sqrt {a^{2} x^{2} + 1} x}{a^{2}} - \frac {\operatorname {arsinh}\left (a x\right )}{a^{3}}\right )}}{a^{4}} + \frac {64 \, {\left (\sqrt {a^{2} x^{2} + 1} x + \frac {\operatorname {arsinh}\left (a x\right )}{a}\right )}}{a^{6}}\right )} - 16 \, {\left (\frac {15 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x^{4}}{a^{2}} - \frac {12 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x^{2}}{a^{4}} + \frac {8 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}}}{a^{6}}\right )} \arctan \left (a x\right )\right )} a^{6} c^{2} + 28 \, {\left (a {\left (\frac {3 \, {\left (\frac {2 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x}{a^{2}} - \frac {\sqrt {a^{2} x^{2} + 1} x}{a^{2}} - \frac {\operatorname {arsinh}\left (a x\right )}{a^{3}}\right )}}{a^{2}} - \frac {8 \, {\left (\sqrt {a^{2} x^{2} + 1} x + \frac {\operatorname {arsinh}\left (a x\right )}{a}\right )}}{a^{4}}\right )} - 8 \, {\left (\frac {3 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}} x^{2}}{a^{2}} - \frac {2 \, {\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}}}{a^{4}}\right )} \arctan \left (a x\right )\right )} a^{4} c^{2} - 140 \, c^{2} \arctan \left ({\left (a^{4} x^{4} + 10 \, a^{2} x^{2} + 9\right )}^{\frac {1}{4}} \sin \left (\frac {1}{2} \, \arctan \left (4 \, a x, a^{2} x^{2} - 3\right )\right ) + 2, a x + {\left (a^{4} x^{4} + 10 \, a^{2} x^{2} + 9\right )}^{\frac {1}{4}} \cos \left (\frac {1}{2} \, \arctan \left (4 \, a x, a^{2} x^{2} - 3\right )\right )\right ) - 140 \, c^{2} \arctan \left ({\left (a^{4} x^{4} + 10 \, a^{2} x^{2} + 9\right )}^{\frac {1}{4}} \sin \left (\frac {1}{2} \, \arctan \left (4 \, a x, a^{2} x^{2} - 3\right )\right ) - 2, -a x + {\left (a^{4} x^{4} + 10 \, a^{2} x^{2} + 9\right )}^{\frac {1}{4}} \cos \left (\frac {1}{2} \, \arctan \left (4 \, a x, a^{2} x^{2} - 3\right )\right )\right )\right )} \sqrt {c}}{1680 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x\,\mathrm {atan}\left (a\,x\right )\,{\left (c\,a^2\,x^2+c\right )}^{5/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {5}{2}} \operatorname {atan}{\left (a x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________